<?php if(!defined('IN_SYS')) exit('Access Denied'); ?>
<!DOCTYPE html>
<html>
<head>
	<title>{$pagetitle}</title>
	<meta charset='utf-8' />
	<meta name="description" content="{$description}">
	<meta name="keywords" content="{$keywords}"> 
	<link type="text/css" rel="stylesheet" href="/static/common/css/reset.css" />
	<link type="text/css" rel="stylesheet" href="{$templets}/style/css/footer.css" />
	<link type="text/css" rel="stylesheet" href="{$templets}/style/css/nav.css" />
	<link type="text/css" rel="stylesheet" href="{$templets}/style/css/body.css" />
	<link type="text/css" rel="stylesheet" href="{$templets}/style/css/article-body.css" />
	<script type="text/javascript" src="/static/common/js/jquery.js"></script>
	<script type="text/javascript" src="/static/common/js/common.js"></script>
	<script type="text/javascript" src="/static/common/js/jquery.lazyload.min.js"></script>
	<script type="text/javascript" src="/static/common/js/plus.js"></script>
	<script type="text/javascript" src="/static/common/js/share.js"></script>
	<script type="text/javascript" src="{$templets}/style/js/home.js"></script>
	<!-- include mobile_agent -->	
</head>
<body>
	<!-- include header -->
	<!--面包屑-->
	<!--面包屑-->
    <div class="wrap">
        <div class="page_breadcrumb cl">
            <div class="fl cl"> <a href="/" class="home_ico">{$yuming_website[sitename]}</a> <a href="/{$typeid}" class="home_ico">{$typename}</a> {$article_content[title]} </div>
        </div>
    </div>
	<div class="wrap cl">
		<!--左侧导航-->	
		<!--中间文章详情-->
		<div class="page_con c1" id="fenx">	
			<div class="titlem"><h1>{$article_content[title]}</h1><span>(来源:网站编辑 {date('Y-m-d H:i',$article_content[addtime])})</span></div>
			<!--分享-->
			<div  class="fenxiang">		
				<!--include section_share-->
			</div>
			<!--正文-->
			<div class="wenzhangp ">文章正文</div>
			<div class="descp">
				{$text}
				<script>
				var shang_config = {
					title: '爷，赏一个呗',
					option: [1,5,10,20,50],
					default: 100,
					custom: true,
					iconUrl: 'http://www.costpay.net/static/images/shang.png'
				};
				</script>
				<div class="shangbycostpay" data-appid="这里是打赏账户Appid"></div>
				<script type="text/javascript" src="http://www.costpay.net/static/shang.js" async></script>
				
			</div>
			
		</div>

		<!--右侧广告位-->
		<div class="page_right">
            <div id="fixedbox">
                <div class="showtype">
                    <ul class="cl">
                        <li><a href="/{$current}/news" class="{if $showtype=='new'} cur{/if}">最新</a></li>
                        <li><a href="/{$current}/hot" class="{if $showtype=='hot'} cur{/if}">热点</a></li>
						<li><a href="/{$current}/photo" class="{if $showtype=='photo'} cur{/if}">图文</a></li>
                    </ul>
                </div>
                <div class="ta tag">
                    <!--标签-->
                    <div class="tag1 cl">标签</div>
                    <div class="tagcon  cl">
                        <ul>
                            <!--foreach tag::tags(20)-->
                            <li class="tagi f{$__i}"> <a class="tagi{$__i}" href="/tags/{$id}">{$tagsname}</a> </li>
                            <!--/foreach-->
                        </ul>
                    </div>
                    <div class="bbl cl">
                        <!-- tag::ad(1) -->
                    </div>
                </div>
                <div class="tag">
                    <div class="tag1">热门文章</div>
                    <div class="arthot cl">
                        <ul>
                            <!-- foreach tag::arclist("flag=c&row=10")-->
                            <!-- if $index<=3 -->
                            <li class="red"> <a href="{$url}" target="_blank">{$title}</a> </li>
                            <!-- else -->
                            <li class="gray"> <a href="{$url}" target="_blank">{$title}</a> </li>
                            <!-- /if -->
                            <!-- /foreach-->
                        </ul>
                    </div>
                </div>
            </div>
        </div>
	</div>
	<!--右下角工具条-->
	<div class="page_toolbar">
		<div class="jjd">
			<div class="tuu fl cl">
				<a href="/"><img src="{$templets}/style/images/homer.png"/></a>
			</div>
			<!--尖角div-->
			<div class=" jjd1 fl cl" >
				<div id="demo" class="toolbar_side1">
					<div class="fx">首页</div>
				</div>
			</div>
		</div>

		<div class="jjd">
			<div class="tuu fl cl">
				<a href="#uyan_frame"><img src="{$templets}/style/images/pinglun.png"/></a>
			</div>

			<!--尖角div-->
			<div class=" jjd1 fl cl" >
				<div id="demo" class="toolbar_side1">
					<div class="fx">评论</div>
				</div>
			</div>
		</div>

		<div class="jjd">
			<div class="tuu fl cl">
				<a href="#fenx"><img src="{$templets}/style/images/fenxiangr.png"/></a>
			</div>
			<!--尖角div-->
			<div class=" jjd1 fl cl" >
				<div id="demo" class="toolbar_side1">
					<div class="fx">分享</div>
				</div>
			</div>
		</div>

		<div class="jjd">
			<div class="tuu fl cl">
				<a onclick="gotop()"><img src="{$templets}/style/images/topr.png"/></a>
			</div>
			<!--尖角div-->
			<div class=" jjd1 fl cl" >
				<div id="demo" class="toolbar_side1">
					<div class="fx">Top</div>
				</div>
			</div>
		</div>
	</div>
	<!-- include footer -->
	<script>
		$(function() {
			$("img").lazyload({
				effect: "fadeIn",
				threshold: 200,
				placeholder : '/static/common/images/nopic.png',
			});
		});
		function gotop(){
			$('html, body').animate({scrollTop:0}, 'slow');
		}
	</script>
</body>
<!-- include jumpscript -->
</html>